package com.dd.cloud.user.req.education;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.dd.cloud.common.vo.PageReq;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * @author xt
 */
@Data
public class PatientEducationPushRecordReq extends PageReq {

    /**
     * 关键字搜索
     */
    private String keyword;

    /**
     * 状态
     */
    private Integer pushStatus;

    /**
     * 开始日期
     */
    private LocalDateTime startDate;

    /**
     * 结束时间
     */
    private LocalDateTime endDate;

    /**
     * 类型 1.患教 2.随访
     */
    @NotBlank(message = "类型不能为空")
    private String type = "1";

    /**
     * 处方编号
     */
    private String tencode;

    /**
     * 医生id
     */
    private Integer doctorId;


    /**
     * 排序
     */
    private Integer sort = 1;

}
